import {DictDataModel} from "/@/api/system/model/DictModel";
export const DictMap = new Map<string,DictDataModel[]>();
DictMap.set('dict_tag',[
    {
        label: '主要',
        value: 'primary'
    },
    {
        label: '警告',
        value: 'warning'
    },
    {
        label: '成功',
        value: 'success'
    },
    {
        label: '错误',
        value: 'error'
    },
    {
        label: '信息',
        value: 'info'
    }
] as DictDataModel[])
DictMap.set('enable_dict',[
    {
        label: '是',
        value: 1,
        tag: 'success'
    },
    {
        label: '否',
        value: 2,
        tag: 'warning'
    }
] as DictDataModel[])
DictMap.set('gender_dict',[
    {
        label: '男',
        value: 1,
        tag: 'primary'
    },
    {
        label: '女',
        value: 2,
        tag: 'primary'
    },
    {
        label: '未知',
        value: 3,
        tag: 'warning'
    }
] as DictDataModel[])
DictMap.set('menu_type_dict',[
    {
        label: '页面',
        value: 1,
        tag: 'primary'
    },
    {
        label: '外链',
        value: 2,
        tag: 'primary'
    },
    {
        label: '内链',
        value: 3,
        tag: 'primary'
    }
] as DictDataModel[])
DictMap.set('auth_type_dict',[
    {
        label: '菜单',
        value: 1,
        tag: 'primary'
    },
    {
        label: '目录',
        value: 2,
        tag: 'primary'
    },
    {
        label: '按钮',
        value: 3,
        tag: 'primary'
    }
] as DictDataModel[])
DictMap.set('data_type_dict',[
    {
        label: '当前用户',
        value: 1,
        tag: 'primary'
    },
    {
        label: '当前组织',
        value: 2,
        tag: 'primary'
    },
    {
        label: '当前组织及子组织',
        value: 3,
        tag: 'primary'
    },
    {
        label: '当前公司',
        value: 4,
        tag: 'primary'
    },
    {
        label: '当前公司及子公司',
        value: 5,
        tag: 'primary'
    }
] as DictDataModel[])
export enum ENABLED {
    YES= 1,
    NO=2
}